﻿using System.Web.Mvc;
using dotNetMembership = System.Web.Security.Membership;
using dotNetRoles = System.Web.Security.Roles;
using Binding = System.Web.Mvc.BindingHelperExtensions;
using StarterKits.Mvc.Filters.FormsAuthentication;

namespace MvcMembership.Controllers
{
    public class FormsAuthenticationAdministrationController : StarterKits.Mvc.Membership.Controllers.BaseFormsAuthenticationAdministrationController
    {
		[RequiresRole( Role="Administrator" )]
        public ActionResult Index()
        {
			ViewData["RolesEnabled"] = dotNetRoles.Enabled;
			return View();
        }
    }
}